export default function ({ $axios, redirect }) {
  $axios.onError(error => {
    if(error.response.status === 500) {
      redirect('/sorry')
    }
  });
  $axios.setBaseURL('http://localhost:8888');
  //$axios.setHeader('Content-Type', 'application/json')
}
  